#include "stdafx.h"
#include "snetwork/Context.h"

namespace Sock
{
    CContext *CContext::m_instance = NULL;

    CContext *CContext::instance()
    {
        if (m_instance==NULL) {
            m_instance = new CContext();
        }
        return m_instance;
    }
    
    CContext::CContext()
    {

    }

    //此线程仅用于处理连接
    int CContext::execute()
    {

        return 0;
    }
}
